<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<title>test Overlay</title>

	<script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','Overlay','SpinWheel']"></script>
	<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>

	<script type="text/javascript">
		require([
			"dijit/_base/manager",
			"dojox/mobile/parser",
			"dojox/mobile",
			"dojox/mobile/Overlay",
			"dojox/mobile/SpinWheel",
			"dojox/mobile/compat"
		]);
	</script>

	<style>
	#spin1 {
		width: 304px;
		margin: 10px auto;
	}
	#pt {
		width: 20px;
		background-color: #C4C9DB;
		opacity: 0.2;
	}
	#txt {
		width: 10px;
		margin-left: -15px;
		padding-top: 85px;
		font-size: 24px;
		font-weight: bold;
		border: none;
	}
	</style>
</head>
<body style="visibility:hidden;">
	<br>
	<button onclick="dijit.byId('customPicker').show()">pop up</button>
	<button onclick="dijit.byId('customPicker').hide()">pop down</button>
	<div id="customPicker" data-dojo-type="dojox.mobile.Overlay">
		<h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='label:"Custom Picker"'>
			<span data-dojo-type="dojox.mobile.ToolBarButton"  data-dojo-props='label:"Done"' class="mblColorBlue" style="width:45px;float:right;" onClick="dijit.byId('customPicker').hide()"></span>
		</h1>
		<div id="spin1" data-dojo-type="dojox.mobile.SpinWheel">
			<div data-dojo-type="dojox.mobile.SpinWheelSlot"
				data-dojo-props="labels:['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']"
				style="text-align:center;width:40px;"></div>
			<div data-dojo-type="dojox.mobile.SpinWheelSlot"
				data-dojo-props='labelFrom:3000, labelTo:3100'
				style="width:70px;"></div>
			<div id="pt" class="mblSpinWheelSlot"></div>
			<div id="txt" class="mblSpinWheelSlot">.</div>
			<div data-dojo-type="dojox.mobile.SpinWheelSlot"
				data-dojo-props='labelFrom:0, labelTo:9'
				style="width:30px;"></div>
			<div data-dojo-type="dojox.mobile.SpinWheelSlot"
				data-dojo-props="labels:['pt','px','cm']"
				style="width:50px;"></div>
			<div data-dojo-type="dojox.mobile.SpinWheelSlot"
				data-dojo-props="labels:[
					'<img src=images/i-icon-1.png>',
					'<img src=images/i-icon-2.png>',
					'<img src=images/i-icon-3.png>',
					'<img src=images/i-icon-4.png>',
					'<img src=images/i-icon-5.png>',
					'<img src=images/i-icon-6.png>',
					'<img src=images/i-icon-7.png>',
					'<img src=images/i-icon-8.png>',
					'<img src=images/i-icon-9.png>',
					'<img src=images/i-icon-10.png>'
				]"
				style="width:70px;text-align: center;"></div>
		</div>
	</div>
	<div style="height:2500px;border:0px solid red;"></div>
	<button onclick="dijit.byId('customPicker').show()">pop up</button>
	<button onclick="dijit.byId('customPicker').hide()">pop down</button>
	<br>
	<br>
</body>
</html>
